package cn.wolfcode.luowowo.query;

import cn.wolfcode.luowowo.util.TravelCondition;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class StrategyThemeCopyQueryObject extends QueryObject{
    private String type;
    private Long themeId;
    private Integer month;
    private int dayId;
    public TravelCondition getPeriod(){
        if(dayId == 1){
            return new TravelCondition(2,3);
        }else if(dayId == 2){
            return new TravelCondition(4,5);
        } else if(dayId == 3){
            return new TravelCondition(6,9);
        }else if (dayId == 4){
            return new TravelCondition(10,Integer.MAX_VALUE);
        }else{
            return null;
        }
    }

}
